package com.softeem.mpdemo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理员")
@Data
public class Admin {

    @Schema(description="管理员id")
    private Integer id;
    @Schema(description = "管理员账号")
    private String username;
    @Schema(description = "管理员密码")
    private String password;
    @Schema(description = "管理员创建时间")
    private LocalDateTime addtime;
    @Schema(description = "账号状态:0表示正常，1表示账号禁用")
    private Integer status;
    @Schema(description = "随机盐，用于密码加密、解密的key值")
    private String salt;

}
